package com.ml.mall.mapper.variant;

import com.ml.mall.entity.variant.SysProductVariantPic;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
/**
* <p>
    *  Mapper 接口
    * </p>
*
* @author kyyang
* Created 2021-05-15
*/
@Repository
public interface SysProductVariantPicMapper extends BaseMapper<SysProductVariantPic> {

    /**
     * @description 产品查询--查询index最小的图
     * @author pl
     * @param variantId
     * @return
     */
    String queryMinIndexPicUrl(@Param("variantId") long variantId);

}
